package com.ronglian.register_mini_program.dao;

import com.ronglian.register_mini_program.model.ActivityType;
import com.ronglian.register_mini_program.model.ActivityTypeExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ActivityTypeMapper extends BaseMapper {
    long countByExample(ActivityTypeExample example);

    int deleteByExample(ActivityTypeExample example);

    int deleteByPrimaryKey(Integer type_id);

    int insert(ActivityType record);

    int insertSelective(ActivityType record);

    List<ActivityType> selectByExample(ActivityTypeExample example);

    ActivityType selectByPrimaryKey(Integer type_id);

    int updateByExampleSelective(@Param("record") ActivityType record, @Param("example") ActivityTypeExample example);

    int updateByExample(@Param("record") ActivityType record, @Param("example") ActivityTypeExample example);

    int updateByPrimaryKeySelective(ActivityType record);

    int updateByPrimaryKey(ActivityType record);
}